# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=kernel-hooks
pkgver=0.2
pkgrel=0
pkgdesc="Run user-provided hooks when /lib/modules/* is updated"
url="https://gitlab.alpinelinux.org/alpine/aports/"
arch="noarch"
license="MIT"
triggers="$pkgname.trigger=/lib/modules/*"
source="README"
options="!check"  # no tests

package() {
	install -D -m644 "$srcdir"/README "$pkgdir"/etc/kernel-hooks.d/README
}

sha512sums="
757a49dc238ce69210219ad7db9a6ebcd14d696d29d1e52dd57d8ce891aac5218aedbb95d1c73bb60f782d586c837ac100cd347b01c64116c41aa873ac7ff67d  README
"
